package com.ruoyi.analyse.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生学情画像对象 ds_student_profile
 *
 * @author ruoyi
 */
public class StudentProfile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 画像ID */
    private Long profileId;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userName;

    /** 提问总数 */
    @Excel(name = "提问总数")
    private Integer totalQuestions;

    /** 主要提问学科 */
    @Excel(name = "主要提问学科")
    private String mainSubject;

    /** 简单问题数 */
    @Excel(name = "简单问题数")
    private Integer simpleQuestions;

    /** 中等问题数 */
    @Excel(name = "中等问题数")
    private Integer mediumQuestions;

    /** 复杂问题数 */
    @Excel(name = "复杂问题数")
    private Integer complexQuestions;

    /** 最后活跃时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后活跃时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastActiveTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;

    /** 学院ID */
    private Integer collegeId;

    // getter和setter方法
    public Integer getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Integer collegeId) {
        this.collegeId = collegeId;
    }

    public void setProfileId(Long profileId)
    {
        this.profileId = profileId;
    }

    public Long getProfileId()
    {
        return profileId;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }

    public void setTotalQuestions(Integer totalQuestions)
    {
        this.totalQuestions = totalQuestions;
    }

    public Integer getTotalQuestions()
    {
        return totalQuestions;
    }

    public void setMainSubject(String mainSubject)
    {
        this.mainSubject = mainSubject;
    }

    public String getMainSubject()
    {
        return mainSubject;
    }

    public void setSimpleQuestions(Integer simpleQuestions)
    {
        this.simpleQuestions = simpleQuestions;
    }

    public Integer getSimpleQuestions()
    {
        return simpleQuestions;
    }

    public void setMediumQuestions(Integer mediumQuestions)
    {
        this.mediumQuestions = mediumQuestions;
    }

    public Integer getMediumQuestions()
    {
        return mediumQuestions;
    }

    public void setComplexQuestions(Integer complexQuestions)
    {
        this.complexQuestions = complexQuestions;
    }

    public Integer getComplexQuestions()
    {
        return complexQuestions;
    }

    public void setLastActiveTime(Date lastActiveTime)
    {
        this.lastActiveTime = lastActiveTime;
    }

    public Date getLastActiveTime()
    {
        return lastActiveTime;
    }

    public void setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime()
    {
        return updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("collegeId", getCollegeId())
            .append("profileId", getProfileId())
            .append("userName", getUserName())
            .append("totalQuestions", getTotalQuestions())
            .append("mainSubject", getMainSubject())
            .append("simpleQuestions", getSimpleQuestions())
            .append("mediumQuestions", getMediumQuestions())
            .append("complexQuestions", getComplexQuestions())
            .append("lastActiveTime", getLastActiveTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
